// @ts-expect-error import meta
const FE_HOST = `http://${import.meta.env.V1_HOST}:${import.meta.env.V1_FE_PORT}`
export default {
  imports: {
    'openinula': 'https://openinula-website.obs.ap-southeast-1.myhuaweicloud.com/misc/inula.production.min.js',
    'openinula/jsx-runtime': 'https://openinula-website.obs.ap-southeast-1.myhuaweicloud.com/misc/jsx-runtime.browser.js',
    'inula-intl': 'https://openinula-website.obs.ap-southeast-1.myhuaweicloud.com/misc/inula-intl.esm-browser.js',
    'inula-request': 'https://openinula-website.obs.ap-southeast-1.myhuaweicloud.com/misc/inula-request.esm-browser.js',
    'inula-router': 'https://openinula-website.obs.ap-southeast-1.myhuaweicloud.com/misc/inula-router.esm-browser.js',
    'lucide-react': `${FE_HOST}/lucide-react.js`,
    'v1-components': `${FE_HOST}/v1-components.js`,
    'lodash': `https://esm.sh/lodash-es`,
    'prop-types': `https://esm.sh/prop-types`,
    '@nivo/bar': `${FE_HOST}/nivo-bar.esm.js`,
    '@nivo/scatterplot': `${FE_HOST}/nivo-scatterplot.esm.js`,
    '@nivo/pie': `${FE_HOST}/nivo-pie.esm.js`,
    '@nivo/line': `${FE_HOST}/nivo-line.esm.js`,
    '@nivo/heatmap': `${FE_HOST}/nivo-heatmap.esm.js`,
  },
}
